
import request from '@/utils/request.js';

// 登录请求接口
export const login = (data) => {
    return request({
        method: "post",
        url: "/login",
        data
    })
}


// 注册请求接口
export const register = (data) => {
    return request({
        method: "post",
        url: "/register",
        data
    })
}